package com.xingchi.tornado.dict.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.xingchi.tornado.basic.BaseEnum;
import lombok.Data;

import java.util.List;

/**
 * 字典元数据信息
 *
 * @author xingchi
 * @date 2024/5/19 20:49
 */
@Data
public class DictMetadata {

    private String group;
    private String className;
    private Class<? extends BaseEnum> targetClass;
    private List<Item> items;

    @Data
    public static class Item {
        private Integer code;
        private String name;
        private String desc;
        private Integer order;
        private Boolean visible;
    }
}
